<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<script type="text/javascript"
	src="http://code.jquery.com/jquery-1.6.4.min.js"></script>
<!-- DatePicker(jQuery UI) -->
<link rel="stylesheet" href="//code.jquery.com/ui/1.10.4/themes/smoothness/jquery-ui.css">
<script src="//code.jquery.com/jquery-1.10.2.js"></script>
<script src="//code.jquery.com/ui/1.10.4/jquery-ui.js"></script>	
<script src="resources/js/office/doctorinsert.js"></script>
</head>
<body>
	<div id='div1'>
		<table>
			
			<tr>
				<td>이름</td><td><input type="text" id='name' name='name'></td>
			</tr>
			<tr>
				<td>주민번호</td><td><input type="text" id='jumin1' name='jumin1' onkeyPress="if ((event.keyCode<48) || (event.keyCode>57)) event.returnValue=false;">  -  <input type="text" id='jumin2' name='jumin2' onkeyPress="if ((event.keyCode<48) || (event.keyCode>57)) event.returnValue=false;"></td>
			</tr>
			<tr>
				<td>패스워드</td><td><input type='password' id='password' name='password'></td>
			</tr>
			<tr>
				<td>주소</td><td><input type="text" id='addr' name='addr'></td>
			</tr>
			<tr>
				<td>성별</td><td><input type="radio" id='gender' name="gender" checked="checked" value='M'>남<input type="radio" id='gender' name="gender" value='W'>여</td>
			</tr>
			<tr>
				<td>전화번호</td><td><input type="text" id='tel' name='tel'></td>
			</tr>
			<tr>
				<td>라이센스</td><td><input type='text' id='license' name='license'></td> 
			</tr>
			
			<tr>
				<td>사진첨부</td>
				<td>
				<form action="fileupload.medic" method="post" enctype="multipart/form-data">
					<input type="file" id='photo' class='file' name='file'>
				</form>
				</td>
			</tr>
			<tr>
				<td>인사말</td><td><input type='text' id='greeting' name='greeting'></td> 
			</tr>
			<tr>
				<td colspan="2"><img src="resources/images/office/inserok.PNG" id='okbtn'>
				<img src="resources/images/office/insertcancel.PNG" id='reset'></td>
			</tr>
		</table>
		
	</div>
	
	
	<div id='div2' style="display: none">
		<table>
			<tr>
				<td></td><td></td>
			</tr>
		</table>
		<table>
			<tr>
				<td>과선택</td><td><select id='dept_name'><option>------과 선택------</option></select></td>
			</tr>
			<tr>
				<td>주전공</td><td><select id='dept_detail_name'><option>------주 전공------</option></select></td>
			</tr>
			<tr>
				<td colspan="2"><input type='button' id='deptchoice' value='전공 추가'><input type='button' id='deptokbtn' value='최종 확인'></td>
			</tr>
		</table>
		
		
	</div>	
	
	

	<div id='div3' style="display: none">
		<table>
			<tr>
				<td>의사 약력 추가</td>
			</tr>
			<tr>
				<td>시작일</td><td><input type='text' class='datepicker' id='start_year' name='start_year'></td>
			</tr>
			<tr>
				<td>종료일</td><td><input type='text' class='datepicker' id='end_year' name='end_year'></td>
			</tr>
			<tr>
				<td>내용</td><td><input type='text' id='content' name='content'></td>
			</tr>
			<tr>
				<td colspan="2"><input type='button' id='finalbtn' value='등록 완료'></td>
			</tr>
		</table>
	</div>

</body>
</html>